#include <iostream>
using namespace std;
int main(int argc, char const *argv[])
{
    cout << "输入一个年份"<<endl;
    int a = 0;
    cin >> a;
    if(a % 4  == 0 && a % 100 != 0 || a % 400 == 0)
    {
        cout << "你输入的年份为闰年"<<endl;
    }
    else{
        cout << "您输入的年份不是闰年"<<endl;
    }
    return 0;
}
